package DecoratorModel;

public class Client {
    public static void main(String[] args) {
        Person person = new Person();
        person.setName("小明");

        Finery xz = new Suit();
        Finery ld = new Tie();
        Finery bt = new BigTrousers();

        xz.setPerson(person);
        ld.setPerson(xz);
        bt.setPerson(ld);
        bt.show();
    }

}
